class ApplicationController < ActionController::Base
  protect_from_forgery
  around_filter :catch_exceptions

private

  def catch_exceptions
    yield
  rescue => exception
    logger.debug "Caught exception! #{exception}" 
    raise
  end

end
